<template>
  <SearchTop></SearchTop>
  <SearchHistoryHot v-if="isShowHistory"></SearchHistoryHot>
  <SearchWhich v-if="isShowWhich"></SearchWhich>
</template>
<script lang="ts" setup>
import SearchTop from './components/SearchTop.vue'
import SearchWhich from './components/SearchWhich.vue';
import SearchHistoryHot from './components/Search-History-Hot.vue';
import useWhichStore from '@/store/search-whichStore.ts'
import { storeToRefs } from 'pinia';



const { isShowHistory, isShowWhich } = storeToRefs(useWhichStore())



</script>
<style scoped lang="scss"></style>@/store/search-whichStore